package com.rj.bd.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.rj.bd.entity.Class1;

@Mapper
public interface ClassMapper {

	@Select("Select *  from class")
	List<Class1> queryAll();

	@Select("select * from class where cid=#{cid}")
	List<Class1> queryById(String cid);

}
